Page({
  data: {
    sexPopShowed:false,
    sexes: ['男', '女', '中性'],
    sexIndex:1
  },
  onShow() {
  },
  toEditUName(e) {
    wx.navigateTo({url: '/pages/usercenter/person-info/edit-uname/index',});
  },
  toEditPhone(e) {
    wx.navigateTo({url: '/pages/usercenter/person-info/edit-phone/index',});
  },
  showSexPop(e) {
    this.setData({sexPopShowed:true});
  },
  onSexPopClose(e) {
    this.setData({sexPopShowed:false});
  },
  onSexChange(e) {
    //console.log('onSexChange:',e);
    this.setData({sexIndex: e.detail.index});
  }
})
